package com.example.study.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.study.entity.Result;
import com.example.study.mapper.SceneryMapper;
import com.example.study.pojo.Scenery;
import com.example.study.service.SceneryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 喜欢多云的季节
 * @since 2022-04-20
 */
@Service
public class SceneryServiceImpl extends ServiceImpl<SceneryMapper, Scenery> implements SceneryService {
    @Autowired
    private SceneryMapper sceneryMapper;
    @Override
    public Result selectTypeC() {
        List<Map> maps = sceneryMapper.selectTypeC();
        return Result.ok(maps);
    }
}
